import 'package:flutter/material.dart';

class GoodsEvlauate extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Row(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          CircleAvatar(
            child: Image.asset(
              'images/login/logo.png',
              width: 39,
              height: 39,
            ),
          ),
          Expanded(
              child: Container(
            margin: EdgeInsets.only(left: 12),
            child: Column(
              children: [
                Row(
                  crossAxisAlignment: CrossAxisAlignment.end,
                  children: [
                    Container(
                      child: Text('岁月不饶人'),
                    ),
                    Container(
                      margin: EdgeInsets.only(left: 3),
                      child: Text(
                        '2019-08-06 14:47',
                        style: TextStyle(
                            fontSize: 10,
                            color: Color.fromRGBO(193, 193, 193, 1)),
                      ),
                    )
                  ],
                ),
                Container(
                  margin: EdgeInsets.only(top: 20),
                  child: Text(
                    '很高兴他们家可以定制。能定制其实很好的一个 业务，但是定制程序大有改善的预定。定制的内 容也可以丰富一些。目前只能在固定位置印',
                    style: TextStyle(color: Color.fromRGBO(102, 102, 102, 1)),
                  ),
                ),
                Container(
                  margin: EdgeInsets.only(top: 15),
                  child: Row(
                    children: [
                      Flexible(
                        flex: 1,
                        child: Container(
                          child: Image.asset(
                            'images/login/logo.png',
                            width: MediaQuery.of(context).size.width * 0.25,
                            height: 90,
                          ),
                        ),
                      ),
                      Flexible(
                        flex: 1,
                        child: Image.asset(
                          'images/login/logo.png',
                          width: 90,
                          height: 90,
                        ),
                      ),
                      Flexible(
                        flex: 1,
                        child: Image.asset(
                          'images/login/logo.png',
                          width: 90,
                          height: 90,
                        ),
                      )
                    ],
                  ),
                ),
                Container(
                  margin: EdgeInsets.only(top: 10),
                  color: Color.fromRGBO(225, 225, 225, 1),
                  height: 1,
                ),
                GestureDetector(
                  onTap: () {},
                  child: Container(
                    margin: EdgeInsets.only(top: 15),
                    alignment: Alignment.center,
                    width: 150,
                    height: 41,
                    decoration: BoxDecoration(
                        borderRadius: BorderRadius.circular(30),
                        border: Border.all(color: Colors.black, width: 1)),
                    child: Row(
                      mainAxisAlignment: MainAxisAlignment.center,
                      children: [
                        Container(
                          child: Text('查看更多评价'),
                        ),
                        Container(
                          child: Icon(Icons.chevron_right_rounded),
                        )
                      ],
                    ),
                  ),
                ),
              ],
            ),
          ))
        ],
      ),
    );
  }
}
